<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script type="text/javascript" src="/enermaatik/js/login.js"></script>
<link href="/enermaatik/arveldus.css" rel="stylesheet" type="text/css" />
<link href="/enermaatik/main.css" rel="stylesheet" type="text/css" />

<div class="pealkiri" style="margin-left: 100px;">
    <h1><?php echo __('Login') ?></h1>
</div>
<div id="flashes"></div>
<form id="login_form"
	  action="<?php echo LinkGen::getInstance(LinkGen::STRUCTURE_ACTIONS)->link(null, array('module' => 'publicUserRegistration', 'action' => 'signIn')) ?>"
	  method="post">
	  <?php echo $form->renderHiddenFields(true); ?>
	  <div class="andmerow">
		<div class="arowname" style="width:auto;">
				<p><?php echo __('Nimi') ?></p>
		</div>
		<div class="aform">
				<div class="aformcontent">
						<div class="formleft"><img width="10" height="30" src="/enermaatik/img/formleft.png" alt=""></div>
						<div class="formcenter">
						  <?php echo $form['username']->render(array('class' => 'ainput')) ?>
						</div>
						<div class="formright"><img width="10" height="30" src="/enermaatik/img/formright.png" alt=""></div>
				<div class="clear"></div>

		</div>
		</div>
		<div class="clear"></div>
	  </div>
	  <div class="andmerow">
		<div class="arowname" style="width:auto;">
				<p><?php echo __('Pass') ?></p>
		</div>
		<div class="aform">
				<div class="aformcontent">
						<div class="formleft"><img width="10" height="30" src="/enermaatik/img/formleft.png" alt=""></div>
						<div class="formcenter">
						  <?php echo $form['password']->render(array('class' => 'ainput')) ?>
						</div>
						<div class="formright"><img width="10" height="30" src="/enermaatik/img/formright.png" alt=""></div>
				<div class="clear"></div>

		</div>
		</div>
		<div class="clear"></div>
	  </div>
<?php //echo $form ?>
<div style="margin-left: 100px; margin-top: 10px;" >
  <div class="hallbuttonleft"><img width="8" height="26" src="/enermaatik/img/tbl.png" alt=""></div>
  <div id="contactSubmit" class="hallbuttoncenter">
          <p><a id="submit_button" href="#"><?php echo __('login') ?></a></p>
  </div>
  <div class="hallbuttonright"><img width="8" height="26" src="/enermaatik/img/tbr.png" alt=""></div>
  <div class="clear"></div>

</div>
</form>